package com.ipfsemc.ipfsemc.service;

import com.ipfsemc.ipfsemc.model.Withdraw;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IWithdrawService {

    public int add(Withdraw withdraw);

    public int update(Withdraw withdraw);

    @Transactional(readOnly = true)
    public List<Withdraw> listByUser(Withdraw withdraw);
}
